* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  width: 400px;
  max-height: 600px;
  background-color: #f5f5f5;
}

.container {
  padding: 16px;
}

h1 {
  font-size: 18px;
  margin-bottom: 16px;
  color: #333;
  text-align: center;
}

.search-container {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e0e0e0;
}

#searchInput {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 12px;
}

#searchInput:focus {
  border-color: #4285f4;
}

.toggle-btn {
  margin-right: 8px;
  cursor: pointer;
  font-size: 12px;
  width: 16px;
  display: inline-block;
  text-align: center;
}

date-text {
  flex: 1;
}

.urls-container {
  display: block;
}

.buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

button {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  background-color: #4285f4;
  color: white;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.2s;
}

button:hover {
  background-color: #3367d6;
}

button:active {
  transform: scale(0.98);
}

.list-container {
  max-height: 450px;
  overflow-y: auto;
}

.date-group {
  margin-bottom: 16px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  overflow: hidden;
}

.date-header {
  background-color: #4285f4;
  color: white;
  padding: 8px 12px;
  font-weight: bold;
  font-size: 14px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.date-text {
  flex: 1;
}

.url-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s;
}

.url-item:last-child {
  border-bottom: none;
}

.url-item:hover {
  background-color: #f9f9f9;
}

.url-item a {
  flex: 1;
  color: #333;
  text-decoration: none;
  word-break: break-all;
  font-size: 13px;
}

.url-item a:hover {
  text-decoration: underline;
}

.url-item button {
  margin-left: 8px;
  padding: 4px 8px;
  background-color: #ea4335;
  font-size: 12px;
}

.url-item button:hover {
  background-color: #d3392c;
}

.empty-message {
  text-align: center;
  color: #999;
  padding: 20px;
  font-size: 14px;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}